//
//  CardShareInfoCell.m
//  QRMaster
//
//  Created by lc on 16/6/1.
//  Copyright © 2016年 myApple. All rights reserved.
//

#import "CardShareInfoCell.h"

@implementation CardShareInfoCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.backgroundColor = [UIColor whiteColor];
        [self addAllSubView];
    }
    return self;
}

- (void)addAllSubView{
    _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(16, 19, 70, 18)];
    _titleLabel.font = [UIFont systemFontOfSize:16];
    _titleLabel.textColor = UIColorFromRGB(0x333333);
    _titleLabel.text = @"房卡信息";
    [self.contentView addSubview:_titleLabel];
    
    _infoLabel = [[UILabel alloc] initWithFrame:CGRectMake(UI_SCREEN_WIDTH-16-UI_SCREEN_WIDTH*0.65, 20, UI_SCREEN_WIDTH * 0.65, 16)];
    _infoLabel.textAlignment = NSTextAlignmentRight;
    _infoLabel.font = [UIFont systemFontOfSize:14];
    _infoLabel.textColor = UIColorFromRGB(0xc1c1c1);
    [self.contentView addSubview:_infoLabel];
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
